#include "Log.h"

Log::Log():f("game.log")
{
    //ctor
}

Log::~Log()
{
    f.close();
}
void Log::addLog(string s)
{
     f<<s;

}
string Log::to_string(int a)
{
    ostringstream ss;
    ss<< a;
    return ss.str();
}
